import request from '@/utils/request'

// 查询绩效考核类型列表
export function getNameList() {
  return request({
    url: '/performance/examine/name/list',
    method: 'get'
  })
}

// 查询绩效考核指标列表（图形构建）
export function getIndicatorsList(data) {
    return request({
      url: '/performance/examine/indicators/list',
      method: 'post',
      data: data
    })
}

// 查询绩效指标排行
export function getRanking(data) {
    return request({
      url: '/performance/examine/user/ranking',
      method: 'post',
      data: data
    })
}